package cn.leaf.common.enums;

import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 *
 * description: 方法类型
 *
 * @author twinkle leaf
 * @version v1.0.0
 * @since 2021-11-07 09:41:47
 * slogan: There are no two identical leaves in the world.
 *
 */
@Getter
@AllArgsConstructor
public enum MethodType {

	/**
	 * 方法类型
	 * GET
	 * PUT
	 * POST
	 * DELETE
	 * OPTIONS
	 */
	GET(false),
	PUT(true),
	POST(true),
	DELETE(false),
	HEAD(false),
	OPTIONS(false);

	private final boolean hasContent;

}
